package com.erlang4j.api.exceptionHandler;

/**
 * This is an extension point that allows us to control what happens when an exception happens.
 * <p>
 * Design notes
 * <ul>
 * <li>Given the fact that we are using Erlang to build a reliable system, we are probably very bothered about
 * exceptions. If this doesn't do what you want...let us know!
 * <li>It is expected that implementors of this will NOT throw exceptions. If it does they are ignored. When you write one of
 * these...DONT throw exceptions: deal with them
 * </ul>
 * </p>
 * 
 * @author Phil Rice
 */
public interface IExceptionHandler {

	void process(Throwable e);

}
